package com.projecy.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.projecy.system.model.SysUser;
import com.projecy.system.model.dto.UserDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface SysUserMapper extends BaseMapper<SysUser> {


    UserDto loadByName(@Param("username") String username);//通过用户名获取用户对象


    List<UserDto> queryUserTable(@Param("blurry") String blurry);//查询用户列表
}
